SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e794ea25cb402db0c6dbec41f9c93df7cbb6ea3d1a6f595569ac69242a4bdc1' 
  AND token = 'oPmUeHn9iGVyLS/Aa9UN3VkXrA+wS4ogC5AGrbtweR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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