SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e99cbd151cc87aec27de323d4d22f2ec85db10489cb09082ebf038aa7977adb5' 
  AND token = '4ok6qJbDorddXyj/POgLsjABNtXcXgR1XV9gzSHYcr4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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