SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ae87406e8cd2e8e8692289d36b51ffe570cca0b30628ede0854ff7c31a6ed3e' 
  AND token = 'xsdaMrEt8JT8w5YhvLmterqWvS+Ljhmf9qTl2fu6RcA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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