SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b7fcaf3bc7cb7af04d0f40ad663b73b2cb09c34b6970c3a635f967cd2653a33' 
  AND token = 'xtoEyYnvnh2k8rTZ2sZri2ODK0Bash+lv5hY0XwEC8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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