SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eef20b3124ec01d9e5ebde06933942bc31d067a96b489f517bf94a0c9eb85a4b' 
  AND token = '0I6p9Y+59G7Y9ocOW2MHkJAhqqB9MhZNSzTxMBYEWnQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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