SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58d008707afc3c799e38fffc5fa9f389d15cbcb02723197762c23bdc5c94b1b6' 
  AND token = 'D6ZcTmk5fFi9SsgJ7x2GuPT9G6m7g5CBSVDg2xjEMAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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