SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '870581adc240ed0f0c284c6e14a3e06ec938904b5e85fc90ae458033de6f5259' 
  AND token = 'IdRbwh/E63PR0kf9U0GRpjjgwxlIpg1M4a+wXsCPxfA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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