SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4bf617955c647fe2d1ab06c165cd838a04cbffff1a64bc80617042063df5934' 
  AND token = 'NMzHX5ybK3EzrFyl0S8ArONvzd3DwDUtzbTpk181Nlc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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