SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a766af100f97a35ae3464bf0487fac6859b44793a91aa38f58fdf097d6a3dc61' 
  AND token = 'N1ed0xNzIM8NsLC+7Pm4KGJWkGdOWi9kNdZYAX4rWFk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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