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

Query time 0.00039

JSON explain

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