SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'abaacbf1a4d4bf40c74f486599d234c1d69900b158ce3002f9b3dc2358f2b995' 
  AND token = 'c2fzUBobTjtkB9nCJdbglm6miG4j9L/xtSdflg2hX8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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