SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2def0a6a42a4f0d6d312499fa93d4dc64e87db957b56fc8f1ea6f5a70de02114' 
  AND token = '3NWcLz/KSnW0Tnxp9vl7lbCwLICFLvYHXAM6vN/6QQQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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