SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51d35dff07d881519ee5738b87ccbecc942015d034572c97f69e8d44a05280c0' 
  AND token = 'tALqwvL49Y02yqjHx+6y4AwnJXRIHtdBaC/QoobcaXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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