SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c211c076bcfc5d6da29346466f34018792f79085db6b55ba7b9072b47bfa2b5' 
  AND token = 'kr5Byc1C0wnvN7GZ/riTYU7ICOXt4GwE0x7ddj0lLFM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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