SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f2ba3c9a1bf6565c5d78eea9d6fa89f207049ca5d3f5094e1f0a71b5555d229d' 
  AND token = 'Ri2lVrbtJz5u7BrcE2AHcJWKiq3LsyADR8xVQ/s5LwM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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