SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd1c2460162921d9f152f098103857220dc56a129c2d4624f46540167a1ccc1a3' 
  AND token = '5wT9kSjsqs44GCWvj7/i+rdDXvK9ec3KCCQy1RRQe60=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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