SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ae4079b20f0cd8ef06afe3454a0fbc20817de4f2e2b451a3f91bd38306f21fe9' 
  AND token = 'y4u3Jg4VnyCIRab32zau/X4JAbG2X+IXHbjgiIxOPpo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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