SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '164ba062787665623e03d16eb92584ea09bda123d72c6c523a0e7c0854fd4022' 
  AND token = 'T17EwrPRj7mTBtJuWkwZFbHc3qB6TdvL0lY8WoHhJSI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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