SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c58023a140a1dfe61e390e98a1b8e868afe5ca48ec5da2c579e4bbdd06ea33c8' 
  AND token = 'NofrPjVzDxGO/Wqew6uyhrqGPE+cTjA8IlKSbTSjrIQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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