SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be12145eedc5f70f779c2adcfc60e7cb146b2c646dc02f8f487c4506905e82cf' 
  AND token = '9JN4b2/0q8YC56xc0gYZ/N57OwCBZGjcUoulaZswom8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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