SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0fe5ee7d4ad933ec65586952e56b5965d724be26ff64c44c8de174e332f86598' 
  AND token = 'UYaiB7kTWcZSQcW74q1WBauYXdoYett1UGNiel2KBbs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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