SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f3a3a5f013c540600bb89189f73fa4a71bcd08096c669882954d41656124c251' 
  AND token = 'naAJsyQ/KicdMBfh8J7n7Do/X+vZmxHcnx0O/geUMxE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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