SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b6af7108b193089416584d9fb1e1c97a21666e3f5544bc1bb23725ca26fe6b9' 
  AND token = 'P0PUDJmJmTj1ZxJCcETxOIJGQrzyitArq5gGYoJXoFM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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