SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd2d2991c310e21f3168846be468c7219454f2eecb43d26739c9737ee8031812' 
  AND token = 'XtUZIiBC5gvoOl+6O1g476tT9l40jqYeGoDlJFJRF2A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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