SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6489b32381ef4d8e9e8b6b220bd987be482c7d3b0490b428f173410585028f01' 
  AND token = 'fN20YwHMLXh3A1uQRptqlae8Pbo/Lg3WCO7rW8pUJSk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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