SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d7cfccc81edaeda10f0540f71d98fb02a5cbdac4905321c0380ea07161dc418' 
  AND token = 'A5YBDvm72K49vU6r7qYPl3FS7VgFHQJptIVHts404ns=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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