SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ec5d40e9ac07db8a858f4bf467258c408c3c8f703194b55f81890c3920c37ce' 
  AND token = 'WzHg63dasoYoXDTZn7mFRQwG0HB9xcI1KnduJcVmICU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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