SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5f380b67afd9e78a7867742163ae6a4f20102c945a6d6c92dcdfdd3b1e0bc450' 
  AND token = 'v0oSa7zHWiW4sw2X3ejg22x5s/AVYrd1MehFkkwBRMU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}