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

Query time 0.00017

JSON explain

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