SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '854b9c99a55f016107017e48f4caec608e427307883fcc973c821bacd224045f' 
  AND token = '5c4SpPcgU4WqoI9apnQvBLYd7WuUd0xJJEm55jg4kz4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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