SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9b7e8fa2da3101cc9502d47adb1d2ef28890a777535cc1244012499040d8d116' 
  AND token = '5OwxvtWROIlfzy6FPKVbCeP7pnBUtA+uo/4HAuuWREs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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