SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4a5b656da74874108a3e2792489d7514761c3233fb888d1df4e32a194bfc35b' 
  AND token = 'Obz0TrH93VCQuSIidJRJUbeL64dSKf4hEPHHWYwcQ7s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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