SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd392c155b815c2a4e8a57592bd776773fec067a1be775bee954cd0175d2df9c' 
  AND token = 'pwYjVG9PjkYDQlYKZf232wt6UoCpIcsUFqXI25qvKyE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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