SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8dc3ce97d55ebc221e008c2221885b0a99d810f58d353a3931244195b52d5f7b' 
  AND token = 'YtLJdqW4LQbOe6bjZ0i766W9g7OL1LXo+OzqShqmb1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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