SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5944291e910c8352a75824e3f11974aa7b75d239e48eefd203d37acd90480a16' 
  AND token = 'tJarPPsE+alFat0gvTDHvL8EUdsOil8RyuwhaB/8fM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00061

JSON explain

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