SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a84b3fb7cbd08a3daefad1a79400e905cc27f304012a2edc041412ba0b7fa21e' 
  AND token = 'Zxfv+iti67qLF+W1D2HAUcO6NwNI2X6Wcs7Mc8kNXGE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}