SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4fad781d06416ae79d6574646af676ef80ef3dca12cae7490e14e4dee5254bd2' 
  AND token = '8+efrBYy0g7b9XOfA2JPnS3676O6WD6FwnWyP0NrrcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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